set(PACKAGE_NAME "template")
set(PACKAGE_EXE_NAME "template")
set(PACKAGE_VENDOR "dzlua")
set(PACKAGE_COPYRIGHT "Copyright ©2019-2020 ${PACKAGE_VENDOR}")
set(PACKAGE_DESCRIPTION "A template project for applications and games made with the nCine")
set(PACKAGE_HOMEPAGE "https://gitee.com/dzlua/mygame.git")
set(PACKAGE_REVERSE_DNS "io.gitee.ncine.template")

set(ROOT_DIR ${CMAKE_SOURCE_DIR}/../..)

set(ENGINE_DIR ${ROOT_DIR}/engine)
aux_source_directory(${ENGINE_DIR} ENGINE_SRCS)

set(TINYXML_DIR ${CMAKE_SOURCE_DIR}/../../third_party/tinyxml)
set(TINYXML_SRCS ${TINYXML_DIR}/tinyxml2.cpp)

include_directories(${ROOT_DIR}/inc)
link_directories(${ROOT_DIR}/lib)
link_libraries(zlib)

set(PACKAGE_INCLUDE_DIRS
	${ENGINE_DIR}
	${TINYXML_DIR}
	src
)

set(PACKAGE_SOURCES
	${ENGINE_SRCS}
	${TINYXML_SRCS}
	src/main.cpp
)
